package com.whnk.attendance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 *
 * 每月统计（工作量收入）查询条件
 */
public class MonthWorkIncomeQuery implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 交付区域编号
     */
    @ApiModelProperty(value = "交付区域名称")
    private String areaName;

    /** 项目分类编码 */
    @ApiModelProperty(value = "项目分类名称")
    private String proClaName;

    /**
     * 开始年月
     */
    @NotBlank
    @ApiModelProperty(value = "开始年月", example = "2021-10", required = true)
    private String startMonth;

    /**
     * 结束年月
     */
    @NotBlank
    @ApiModelProperty(value = "结束年月", example = "2021-11", required = true)
    private String endMonth;

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getProClaName() {
        return proClaName;
    }

    public void setProClaName(String proClaName) {
        this.proClaName = proClaName;
    }

    public String getStartMonth() {
        return startMonth;
    }

    public void setStartMonth(String startMonth) {
        this.startMonth = startMonth;
    }

    public String getEndMonth() {
        return endMonth;
    }

    public void setEndMonth(String endMonth) {
        this.endMonth = endMonth;
    }

    @Override
    public String toString() {
        return "MonthWorkIncomeQuery{" +
                "areaName='" + areaName + '\'' +
                ", proClaName='" + proClaName + '\'' +
                ", startMonth='" + startMonth + '\'' +
                ", endMonth='" + endMonth + '\'' +
                '}';
    }
}

